[Manager Summary]
Sets the page orientation for printing.
OSStatus PMSetOrientation(PMPageFormat pageFormat, PMOrientation orientation, Boolean lock)
PARAMETERS
pageFormat
- A PMPageFormat object previously created by your application for the current printing session. On return, this object will contain the page orientation you specify in the orientation parameter.
orientation
- A constant defined by the data type PMOrientation, by which you specify a page orientation.
lock
- A Boolean value that currently has no effect.
- function result
- A result code. See Result Codes.
CARBON PORTING NOTES
The PMSetOrientation function replaces the Printing Manager opcode getRotnOp, and sets information formerly stored in the lower byte of the wDev field of the Printing Manager structure TPrStl.
Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.